Skip to content

Human NPCs: the merged #552, #553, #557, #558, #559, #569, #570 and #571 into master - #583

Merged
Jackriip merged 30 commits into
masterfrom
split/base-human-npcs
Nov 16, 2026
Merged

Jackriip merged 30 commits into
masterfrom
split/base-human-npcs

Conversation

@Jackriip

Copy link
Copy Markdown
Member

Brings the human NPC work into master. Everything here was already reviewed and merged in its own PR, but those PRs were merged into this stack's base branch, not into master:

Each PR's description has its screenshots and details. Nothing new is added here.

… throttled spawning

/mob/living/carbon/human/npc is a human body driven by an AI controller. Crit, stamina, stuns, cuffs, wounds,
bleeding, medicine, death and revival are tg's own, the same as on a player.

- Gear the NPC wears stays with it; ship keys and designed death loot drop.
- It draws, reloads and treats itself, pleads and surrenders when downed, and stays where it falls.
- Only elite and boss NPCs land aimed crits, and only bosses execute.
- Outfit tables dress an NPC by zone, with cold and vacuum gear where it spawns.
- Spawns are queued and built a few per tick; bodies with no player on their level pause.
- Combat sense (cover from stun fire, a carried stimulant) for the NPC types that opt in.
- Hull turrets shoot human NPCs and weather reaches them.

No NPC in the game is converted here; admins can spawn the sample types with Spawn Human NPCs.
…eople

These NPCs are now human NPCs (/mob/living/carbon/human/npc): real human bodies with tg's own crit, wounds,
cuffs, medicine and death.

- NPC-ship pirate crews and boarders of every faction, their captains and bosses, on the pirate crew AI, with
  real guns, magazines and reloads. Boarders wear their faction's space suits.
- NT customs crews, boarders and the Compliance Director.
- Ruin, planet and mission troopers (pirate, Syndicate, Nanotrasen, Russian), hermits, poachers, portal storm
  shocktroopers and shuttle-loan hijackers. They dress by zone, with cold and vacuum gear where they spawn.
- Ruin maps place them with /obj/effect/spawner/human_npc/ruin spawners.
- Pirate bosses perform the boss finishers; armed pirates take cover from stun fire and use a stimulant.
- The basic-mob pirate, hermit and customs types are removed, and tg's trooper file is back to upstream.
…re people

Bounty targets are now human NPCs (/mob/living/carbon/human/npc): real human bodies with tg's own crit, wounds,
cuffs, medicine and death.

- Criminals of every tier, their companions, the mini-bosses, the kingpin with his goons, and Club Volga's staff
  and patrons. Fugitives blending in at trader outposts and the look-alike decoys around them are people too.
- They are caught with tg's own crit, surrender and handcuffs; the bounty cuffs and the fake downed state are gone.
- Criminals and companions dress from outfit tables and fight by style with real weapons.
- The escaped convict on planets is a bounty criminal body.
- The basic-mob bounty criminal, companion, boss and kingpin types are removed.
- The bounty files are as they stood before the guard kit and chrome work; later pull requests finish them.
Defender waves from missions no longer appear out of nowhere beside the crew. Pirates and robots drop in by supply
pod, one pod per mob, and the Syndicate uses its own pod; bugs, wildlife, asteroid fauna, undead and cult dig up out
of the ground, the tile shaking before the mob rises. Arrivals scatter up to 4 tiles away and never land on a tile
someone is standing on.

Covers survey pylon calibration, both Hot Extraction alarm waves, the Field Expedition ambush and claim-beacon
defense. Mapped ruin guards still spawn instantly.
… own side

A projectile fired by a mob nobody is playing ignores mobs that share the shooter's factions (tg's
ignored_factions), except the mob it was aimed at. Covers guns, shotgun pellets, basic mob ranged attacks and simple
mob Shoot(). The neutral faction is left out, a reflected or parried shot stops sparing the NPC's side, and
players' shots are unchanged. The mafia lair machine keeps hitting its own people.

An NPC held in an aggressive grab by someone of another side is hit by its own side's fire, so a grabbed NPC works
as a shield. A passive pull, a hostage on the floor, a corpse and an NPC held by its own side are still passed over.
…tols

- Criminals hide only aboard an ordinary pirate crew's ship, never a themed crew's, so their guards are ordinary
  pirates. Companions come from the same species mix as criminals and wear rough clothes picked by site.
- At space ruins and on planets where the air would kill them, criminals and companions arrive in space suits:
  soft suits for Petty and meek criminals and companions, work MODsuits for Wanted criminals, and a MODsuit that
  matches its kit for each mini-boss. Their own suit can't be taken off them. A hunter can put a suit of their own
  on a downed, cuffed or stunned catch through the strip menu, and gets it back at the turn-in pad.
- Two new fighting styles: a WT-550 that fires bursts of four, and a .38 revolver with a speedloader.
- Guns stay holstered, on the belt or slung on the back until a fight; drawing one shows, and the first shot comes
  a moment later.
- Bounty pistols fire single shots, two a second, in strings of six with a pause between: criminals, companions,
  the kingpin's goons, Club Volga's gunmen and the don.
- An outpost fugitive carries only weapons it can hide, and the look-alikes wear the same holster, pouch or bag.
The hijack loan's infiltrators are human NPCs, sent for through the human NPC queue rather than spawned at once, so the test counts the queued orders and checks their delivery context.
Brute spread over every limb counts for less than its total toward a human's health, so 110 of it left the criminal standing and no capture was bound.
Human NPCs: a real human body with AI, gear, soft crit, surrender and throttled spawning
Pirate crews, boarders, ruin troopers, hermits and mission NPCs are people
The prison wing's NPCs are now human NPCs (/mob/living/carbon/human/npc): real human bodies with tg's own crit,
wounds, cuffs, medicine and death.

- Inmates, the guards and their routine, and Kessler's visiting agents and researcher. A guard who is beaten
  down beams out and comes back.
- Experiment subjects turn on their own body: the hulk, the nightmare and the fly person bleed, go into crit and
  can be cuffed, drugged and revived. Kessler's team darts a living one and takes it away.
- Guards get out of the line of stun fire and go back to their routine.
- A prisoner who breaks out walks the outpost's patrol path as a person and fights with their fists.
- The basic-mob prisoner and guard types are removed, with the bounty cuff and damage multipliers they carried.
… before the flip

The test flips the table straight after the map loads. tg's flip clears the table's smoothing but leaves it queued, and the queued smooth then crashes.
…people

The ambient NPCs are now human NPCs (/mob/living/carbon/human/npc): real human bodies with tg's own crit, wounds,
cuffs, medicine and death. This finishes the move of human-looking NPCs onto the human NPC body.

- Outpost patrons, regulars, workers, the angler and the dancer; planet fishers, miners, peddlers, jungle and site
  NPCs; faction recruiters; stranded strays and recruits; and the survivor of a rescue mission.
- A townsperson keeps one face whether idle, working or dead. A body at a trader outpost is taken away five
  minutes after death once nobody is near it.
- Traders and checkpoint guards stay invulnerable fixtures, and say so in their files.
- Zone health scaling refuses carbons: a person keeps tg's health in every zone.
- The basic-mob ambient NPC types are removed.
- The cross-family tests land here: zone profiles, garbage collection of every family, and combat sense.
Townsfolk, outpost and planet NPCs, strays and mission survivors are people
A survivor rescued from a crashed pod or a drifting lifeboat hands a random ship part to the crew member who brought
them in when they step aboard, with a thank-you line. If that person is out of reach or has full hands, the part
goes on the floor. Every 75 to 120 minutes after that the deckhand hands another part to a nearby crew member,
three more at most. Other strays give nothing.
A crashed-pod or lifeboat survivor let go at a trader outpost raises the rescuing crew's reputation by the zone they
were found in: 1 for green, 2 for yellow, 3 for red. The reward goes through the same zone work as missions and
bounties, so the usual ceilings apply and it writes the usual round metric row.

Each survivor pays once, only to the crew that took them aboard, and only if they came from a stranded site, are
alive and conscious and nobody is playing them. The zone is where the wreck was found, not where the survivor
stands.
Rescued survivors raise the crew's reputation
Bounty targets: plain guards, space suits, holstered guns, slower pistols
NPC shots pass over their own side; a grabbed NPC shields against its own side
Mission waves arrive by drop pod or dig out of the ground
@Jackriip
Jackriip merged commit b2a9c48 into master Nov 16, 2026
4 checks passed
@Jackriip
Jackriip deleted the split/base-human-npcs branch November 16, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant